package com.sew.sewweb.service.impl;

import com.sew.sewweb.bean.OrgMemberEntity;
import com.sew.sewweb.common.utils.PageUtils;
import com.sew.sewweb.common.utils.Query;
import com.sew.sewweb.mapper.OrgMemberMapper;
import com.sew.sewweb.service.OrgMemberService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;



@Service("orgMemberService")
public class OrgMemberServiceImpl extends ServiceImpl<OrgMemberMapper, OrgMemberEntity> implements OrgMemberService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrgMemberEntity> page = this.page(
                new Query<OrgMemberEntity>().getPage(params),
                new QueryWrapper<OrgMemberEntity>()
        );

        return new PageUtils(page);
    }

}